/* width：宽 */
.w-all {
    width: 100%;
}

.w-100 {
    width: 100px;
}

/* max-width */
.maw-all {
    max-width: 100%;
}

.maw-100 {
    max-width: 100px;
}

/* miw-width */
.miw-all {
    min-width: 100%;
}

.miw-100 {
    min-width: 100px;
}

/* height：高 */
.h-all {
    height: 100%;
}

.h-100 {
    height: 100px;
}

/* max-height */
.mah-all {
    max-height: 100%;
}

/* min-height */
.mih-all {
    min-height: 100%;
}

/* top */
.top-0 {
    top: 0px;
}

/* right */
.right-0 {
    right: 0px;
}

/* bottom */
.bottom-0 {
    bottom: 0px;
}

/* left */
.left-0 {
    left: 0px;
}

/* padding：内边距 */
.p-1 {
    padding: 1px;
}

/* padding-top */
.pt-1 {
    padding-top: 1px;
}

.pt-15 {
    padding-top: 15px;
}

/* padding-right */
.pr-1 {
    padding-right: 1px;
}

.pr-15 {
    padding-right: 15px;
}

/* padding-bottom */
.pb-1 {
    padding-bottom: 1px;
}

.pb-15 {
    padding-bottom: 15px;
}

/* padding-left */
.pl-1 {
    padding-left: 1px;
}

.pl-15 {
    padding-left: 15px;
}


/* margin：外边距 */
.m-1 {
    margin: 1px;
}

.m-auto {
    margin: 0 auto;
}

/* margin-top */
.mt-1 {
    margin-top: 1px;
}

/* margin-right */
.mr-1 {
    margin-right: 1px;
}

/* margin-bottom */
.mb-1 {
    margin-bottom: 1px;
}

.mb-10 {
    margin-bottom: 10px;
}

/* margin-left */
.ml-1 {
    margin-left: 1px;
}

/* font-size：字体大小 */
.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

/* letter-spacing：文字间距 */
.ls-1 {
    letter-spacing: 1px;
}

/* border-radius：圆角 */
.br-5 {
    border-radius: 5px;
}

/* z-index：层级 */
.zi-10 {
    z-index: 10;
}

/* border：边框，全，上，右，下，左*/
.b-eee {
    border: 1px solid #eee;
}

.bt-eee {
    border-top: 1px solid #eee;
}

.br-f0 {
    border-right: 1px solid #f0f0f0;
}

.br-eee {
    border-right: 1px solid #eee;
}

.bb-eee {
    border-bottom: 1px solid #eee;
}

.bl-eee {
    border-left: 1px solid #eee;
}

/* font-weight：加粗、正常 */
.fw-bold {
    font-weight: bold;
}

.fw-normal {
    font-weight: normal;
}

.fw-500 {
    font-weight: 500;
}

/* text-align：左、右、居中 */
.ta-left {
    text-align: left;
}

.ta-right {
    text-align: right;
}

.ta-center {
    text-align: center;
}

/* position：相对定位、绝对定位、浮动 */
.position-r {
    position: relative;
}

.position-a {
    position: absolute;
}

.position-f {
    position: fixed;
}

.position-un {
    position: unset;
}

/* display：块，行内，行内块，隐藏  */
.display-b {
    display: block;
}

.display-i {
    display: inline;
}

.display-ib {
    display: inline-block;
}

.display-n {
    display: none;
}

/* flex弹性布局 */
.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}



/* vertical-align：垂直方法：靠上，中间，靠下*/
.va-top {
    vertical-align: top;
}

.va-middle {
    vertical-align: middle;
}

.va-bottom {
    vertical-align: bottom;
}

/* text-decoration：下划线、取消 */
.td-underline {
    text-decoration: underline
}

.td-none {
    text-decoration: none
}

/* overflow：全向、横向、纵向、超出隐藏 */
.overflow {
    overflow: auto;
}

.overflow-x {
    overflow-x: auto;
}

.overflow-y {
    overflow-y: auto;
}

.overflow-h {
    overflow: hidden;
}

/* float：左浮动、右浮动、清除浮动 */
.fn-left {
    float: left;
}

.fn-right {
    float: right;
}

.fn-clear::after {
    clear: both;
    content: "";
    display: block;
    width: 0;
    height: 0;
    font-size: 0px;
    opacity: 0;
}

/* cursor：手势 */
.cursor-p {
    cursor: pointer;
}

/* white-space：不换行 */
.ws-nowrap {
    white-space: nowrap;
}

/* user-select：禁止选中 */
.us-none {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* text-overflow：单行文字过长省略  */
.to-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}


/* scroll：横向，纵向，滚动样式 */
.scroll-x {
    overflow-x: auto;
    overflow-y: hidden;
}

.scroll-y {
    overflow-y: auto;
    overflow-x: hidden;
}

.scroll-x::-webkit-scrollbar,
.scroll-y::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
}

.scroll-x::-webkit-scrollbar-track,
.scroll-y::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: transparent;
}

.scroll-x::-webkit-scrollbar-thumb,
.scroll-y::-webkit-scrollbar-thumb {
    background-color: #dadada;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    cursor: pointer;
}

.scroll-x::-webkit-scrollbar-thumb:hover,
.scroll-y::-webkit-scrollbar-thumb:hover {
    background-color: #bbbbbb;
}